package com.accounting.model;

/**
 * VoucherRecord entity. @author MyEclipse Persistence Tools
 */

public class VoucherRecord implements java.io.Serializable {

	// Fields

	private Integer id;
	private Currency currency;
	private Subject subject;
	private Voucher voucher;
	private String summary;
	private Double debite;
	private Double credit;
	private String units;
	private String quantity;
	private String price;

	// Constructors

	/** default constructor */
	public VoucherRecord() {
	}

	/** minimal constructor */
	public VoucherRecord(Integer id, Subject subject, Voucher voucher,
			String summary) {
		this.id = id;
		this.subject = subject;
		this.voucher = voucher;
		this.summary = summary;
	}

	/** full constructor */
	public VoucherRecord(Integer id, Currency currency, Subject subject,
			Voucher voucher, String summary, Double debite, Double credit,
			String units, String quantity, String price) {
		this.id = id;
		this.currency = currency;
		this.subject = subject;
		this.voucher = voucher;
		this.summary = summary;
		this.debite = debite;
		this.credit = credit;
		this.units = units;
		this.quantity = quantity;
		this.price = price;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Currency getCurrency() {
		return this.currency;
	}

	public void setCurrency(Currency currency) {
		this.currency = currency;
	}

	public Subject getSubject() {
		return this.subject;
	}

	public void setSubject(Subject subject) {
		this.subject = subject;
	}

	public Voucher getVoucher() {
		return this.voucher;
	}

	public void setVoucher(Voucher voucher) {
		this.voucher = voucher;
	}

	public String getSummary() {
		return this.summary;
	}

	public void setSummary(String summary) {
		this.summary = summary;
	}

	public Double getDebite() {
		return this.debite;
	}

	public void setDebite(Double debite) {
		this.debite = debite;
	}

	public Double getCredit() {
		return this.credit;
	}

	public void setCredit(Double credit) {
		this.credit = credit;
	}

	public String getUnits() {
		return this.units;
	}

	public void setUnits(String units) {
		this.units = units;
	}

	public String getQuantity() {
		return this.quantity;
	}

	public void setQuantity(String quantity) {
		this.quantity = quantity;
	}

	public String getPrice() {
		return this.price;
	}

	public void setPrice(String price) {
		this.price = price;
	}

}